.class Lcom/xingbook/park/activity/br;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/xingbook/park/ui/av;


# instance fields
.field final synthetic a:Lcom/xingbook/park/activity/SearchAct;


# direct methods
.method constructor <init>(Lcom/xingbook/park/activity/SearchAct;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/park/activity/br;->a:Lcom/xingbook/park/activity/SearchAct;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(ILjava/lang/String;)V
    .locals 7

    iget-object v0, p0, Lcom/xingbook/park/activity/br;->a:Lcom/xingbook/park/activity/SearchAct;

    invoke-static {v0}, Lcom/xingbook/park/activity/SearchAct;->c(Lcom/xingbook/park/activity/SearchAct;)Landroid/widget/EditText;

    move-result-object v0

    invoke-virtual {v0, p2}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/br;->a:Lcom/xingbook/park/activity/SearchAct;

    invoke-static {v0}, Lcom/xingbook/park/activity/SearchAct;->d(Lcom/xingbook/park/activity/SearchAct;)Lcom/xingbook/park/b/d;

    move-result-object v0

    invoke-virtual {v0, p2}, Lcom/xingbook/park/b/d;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/br;->a:Lcom/xingbook/park/activity/SearchAct;

    invoke-static {v0}, Lcom/xingbook/park/activity/SearchAct;->e(Lcom/xingbook/park/activity/SearchAct;)[I

    move-result-object v0

    array-length v0, v0

    add-int/lit8 v0, v0, -0x1

    :goto_0
    if-gez v0, :cond_0

    :goto_1
    iget-object v0, p0, Lcom/xingbook/park/activity/br;->a:Lcom/xingbook/park/activity/SearchAct;

    invoke-static {v0}, Lcom/xingbook/park/activity/SearchAct;->k(Lcom/xingbook/park/activity/SearchAct;)V

    return-void

    :cond_0
    iget-object v1, p0, Lcom/xingbook/park/activity/br;->a:Lcom/xingbook/park/activity/SearchAct;

    invoke-static {v1}, Lcom/xingbook/park/activity/SearchAct;->e(Lcom/xingbook/park/activity/SearchAct;)[I

    move-result-object v1

    aget v1, v1, v0

    if-ne v1, p1, :cond_1

    iget-object v1, p0, Lcom/xingbook/park/activity/br;->a:Lcom/xingbook/park/activity/SearchAct;

    invoke-static {v1}, Lcom/xingbook/c/n;->a(Landroid/app/Activity;)V

    iget-object v1, p0, Lcom/xingbook/park/activity/br;->a:Lcom/xingbook/park/activity/SearchAct;

    invoke-static {v1}, Lcom/xingbook/park/activity/SearchAct;->a(Lcom/xingbook/park/activity/SearchAct;)Lcom/xingbook/park/a/w;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Lcom/xingbook/park/a/w;->a(Ljava/util/ArrayList;)V

    iget-object v1, p0, Lcom/xingbook/park/activity/br;->a:Lcom/xingbook/park/activity/SearchAct;

    invoke-static {v1}, Lcom/xingbook/park/activity/SearchAct;->f(Lcom/xingbook/park/activity/SearchAct;)Lcom/xingbook/park/activity/bx;

    move-result-object v1

    iget-object v2, p0, Lcom/xingbook/park/activity/br;->a:Lcom/xingbook/park/activity/SearchAct;

    invoke-static {v2}, Lcom/xingbook/park/activity/SearchAct;->g(Lcom/xingbook/park/activity/SearchAct;)[I

    move-result-object v2

    aget v2, v2, v0

    invoke-virtual {v1, v2}, Lcom/xingbook/park/activity/bx;->setBackgroundColor(I)V

    iget-object v1, p0, Lcom/xingbook/park/activity/br;->a:Lcom/xingbook/park/activity/SearchAct;

    invoke-static {v1}, Lcom/xingbook/park/activity/SearchAct;->f(Lcom/xingbook/park/activity/SearchAct;)Lcom/xingbook/park/activity/bx;

    move-result-object v1

    iget-object v2, p0, Lcom/xingbook/park/activity/br;->a:Lcom/xingbook/park/activity/SearchAct;

    invoke-static {v2}, Lcom/xingbook/park/activity/SearchAct;->h(Lcom/xingbook/park/activity/SearchAct;)[I

    move-result-object v2

    aget v2, v2, v0

    iget-object v3, p0, Lcom/xingbook/park/activity/br;->a:Lcom/xingbook/park/activity/SearchAct;

    invoke-static {v3}, Lcom/xingbook/park/activity/SearchAct;->i(Lcom/xingbook/park/activity/SearchAct;)I

    move-result v3

    iget-object v4, p0, Lcom/xingbook/park/activity/br;->a:Lcom/xingbook/park/activity/SearchAct;

    invoke-static {v4}, Lcom/xingbook/park/activity/SearchAct;->h(Lcom/xingbook/park/activity/SearchAct;)[I

    move-result-object v4

    aget v4, v4, v0

    iget-object v5, p0, Lcom/xingbook/park/activity/br;->a:Lcom/xingbook/park/activity/SearchAct;

    invoke-static {v5}, Lcom/xingbook/park/activity/SearchAct;->f(Lcom/xingbook/park/activity/SearchAct;)Lcom/xingbook/park/activity/bx;

    move-result-object v5

    iget v5, v5, Lcom/xingbook/park/activity/bx;->a:I

    add-int/2addr v4, v5

    iget-object v5, p0, Lcom/xingbook/park/activity/br;->a:Lcom/xingbook/park/activity/SearchAct;

    invoke-static {v5}, Lcom/xingbook/park/activity/SearchAct;->i(Lcom/xingbook/park/activity/SearchAct;)I

    move-result v5

    iget-object v6, p0, Lcom/xingbook/park/activity/br;->a:Lcom/xingbook/park/activity/SearchAct;

    invoke-static {v6}, Lcom/xingbook/park/activity/SearchAct;->f(Lcom/xingbook/park/activity/SearchAct;)Lcom/xingbook/park/activity/bx;

    move-result-object v6

    iget v6, v6, Lcom/xingbook/park/activity/bx;->b:I

    add-int/2addr v5, v6

    invoke-virtual {v1, v2, v3, v4, v5}, Lcom/xingbook/park/activity/bx;->layout(IIII)V

    iget-object v1, p0, Lcom/xingbook/park/activity/br;->a:Lcom/xingbook/park/activity/SearchAct;

    invoke-static {v1}, Lcom/xingbook/park/activity/SearchAct;->j(Lcom/xingbook/park/activity/SearchAct;)Landroid/view/View;

    move-result-object v1

    iget-object v2, p0, Lcom/xingbook/park/activity/br;->a:Lcom/xingbook/park/activity/SearchAct;

    invoke-static {v2}, Lcom/xingbook/park/activity/SearchAct;->g(Lcom/xingbook/park/activity/SearchAct;)[I

    move-result-object v2

    aget v2, v2, v0

    invoke-virtual {v1, v2}, Landroid/view/View;->setBackgroundColor(I)V

    iget-object v1, p0, Lcom/xingbook/park/activity/br;->a:Lcom/xingbook/park/activity/SearchAct;

    invoke-static {v1, v0}, Lcom/xingbook/park/activity/SearchAct;->a(Lcom/xingbook/park/activity/SearchAct;I)V

    goto :goto_1

    :cond_1
    add-int/lit8 v0, v0, -0x1

    goto/16 :goto_0
.end method
